﻿using nplJobsCommon.JobSeeker;
using nplJobsDAL.Insert;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace nplJobsBLL.ProcessJobSeeker
{
    public class ProcessInsertJobSeekerEducationInfo
    {
        public Int64 LastJobSeekerEducationInfoID = -1;
        public int EducationInfoID { get; set; }

        public ProcessInsertJobSeekerEducationInfo()
        {
        }
        public EducationInfo EducationInfo { get; set; }
      
        public void invoke()
        {
            InsertJobSeekerEducationInfo insertJobSeekerEducationInfo = new InsertJobSeekerEducationInfo();
            insertJobSeekerEducationInfo.EducationInfo = this.EducationInfo;
            insertJobSeekerEducationInfo.Insert();
            LastJobSeekerEducationInfoID = insertJobSeekerEducationInfo.lastJobSeekerEducationInfoID;
        }
    }
}
